  
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="authMain" />
        <title>Show Role</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><g:link class="home" controller="auth">Authorize Home</g:link></span>
            <span class="menuButton"><g:link class="list" action="list">Role List</g:link></span>
        </div>
        <div class="body">
            <h1>Show Role</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Name:</td>
                            <td valign="top" class="value">${role.name}</td>
                        </tr>
                    
                        %{--<tr class="prop">--}%
                            %{--<td valign="top" class="name">Description:</td>--}%
                            %{--<td valign="top" class="value">${role.description}</td>--}%
                        %{--</tr>--}%

                        <tr class="prop">
                            <td valign="top" class="name">Controller Actions:</td>
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="r" in="${role.actions}">
                                    <li><g:link controller="action" action="show" id="${r?.id}">${r?.controler?.name}:${r?.name}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form controller="role">
                    <input type="hidden" name="id" value="${role?.id}" />
                </g:form>
            </div>
        </div>
    </body>
</html>
